<h3>Action shop:checkout_payment_method</h3>

<p class="description">The shop:checkout_payment_method action is designed for creating the Payment Method page, which allows a customer to select a payment method from a list of available methods. The Payment Method page is the fourth step of the conventional step-by-step checkout process. Please read the generic description of the step-by-step actions in the <a href="http://lemonstandapp.com/wiki/step_by_step_checkout_actions" target="_blank">Step-by-step checkout actions</a> article.</p>

<h4 class="separated">Variables</h4>
<ul>
	<li><strong>$payment_methods</strong> – a list of applicable payment methods, array. Each element in the array is an object of the <a href="http://lemonstandapp.com/wiki/class_shop_paymentmethod" target="_blank">Shop_PaymentMethod</a> class.</li>
	<li><strong>$payment_method</strong> - an identifier of a payment method previously selected by the customer (during a previous checkout). You can use this variable for pre-selecting an item in the payment method list.</li>
	<li><strong>$goods_tax</strong> – a value of a goods tax.</li>
	<li><strong>$subtotal</strong> – order subtotal sum.</li>
	<li><strong>$shipping_quote</strong> – a shipping quote value.</li>
	<li><strong>$shipping_tax</strong> – a shipping tax value.</li>
	<li><strong>$discount</strong> - estimated cart discount. You can display this value during the checkout process.</li>
	<li><strong>$cart_total</strong> - cart total value (subtotal).</li>
	<li><strong>$estimated_total</strong> - an estimated total value. This value is calculated on each step of the checkout process, taking into account price rules and known information about the customer.</li>
	<li><strong>$estimated_tax</strong> - an estimated tax value. This value is calculated on each step of the checkout process, taking into account price rules (defined on the Shop/Cart Price Rules page) and known information about the customer. The tax value includes the goods tax, shipping tax and tax discount (which can be provided by the Discount Engine).</li>
</ul>

<p class="description"><a href="http://lemonstandapp.com/wiki/shop_checkout_payment_method/" target="_blank">Read more...</a></p>